<h1>Listing recents</h1>

<table>
  <tr>
    <th>Artifact</th>
    <th>Created at</th>
    <th>Updated at</th>
    <th>Deleted at</th>
  </tr>
  
<% for recent in @recents %>
  <tr>
    <td><%=h recent.artifact_id %></td>
    <td><%=h recent.created_at %></td>
    <td><%=h recent.updated_at %></td>
    <td><%=h recent.deleted_at %></td>
    <td><%= link_to 'Show', recent_path(recent) %></td>
    <td><%= link_to 'Edit', edit_recent_path(recent) %></td>
    <td><%= link_to 'Destroy', recent_path(recent), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New recent', new_recent_path %>